<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* #first {
            color: chartreuse;
        } */
        /* li:first-child {
            color: chocolate;
        } */
        /* li:nth-child(2) {
            color: crimson;
        } */
        /* 除了第3项，其他都设置样式 */
        
        li:not(:nth-child(3)) {
            color: darkcyan;
        }
        /* 未访问的标签进行样式的设置 */
        
        a:link {
            color: darksalmon;
        }
        
        .text::first-letter {
            color: red;
        }
        
        .text::before {
            content: '好好学习';
        }
    </style>
</head>

<body>
    <ul>
        <!-- <li id="first">前端</li> -->
        <li>后端</li>
        <li>测试</li>
        <li>大数据</li>
        <li>大数据1</li>
        <li>大数据2</li>
        <li>大数据3</li>
    </ul>


    <a href="https://baidu.com">百度一下</a>
    <a href="https://google.com">谷歌</a>

    <div class="text">
        Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ratione accusantium ut dignissimos recusandae esse. Veritatis pariatur dolore deserunt atque enim reprehenderit aliquid expedita voluptas quas cum nostrum modi, accusamus officia.

    </div>

</body>

</html>